<style scoped>
</style>
<template>
  <file_imgs :name="name" :model-value="modelValue" @update:modelValue="$emit('update:modelValue',$event)" @change="$emit('change',$event)"
             :config="config" :placeholder="placeholder" :is_info="is_info" :max="1"
             v-bind="$attrs"></file_imgs>
</template>

<script>
import file_imgs from "./file_imgs.vue";

export default {
  name: "file_img",
  components: {file_imgs},
  props: {
    name: String,
    modelValue: [String,Number],
    config: [String,Object],
    placeholder: String,
    is_info: Boolean,
  },
  emits: ['update:modelValue','change'],
  data(){
    return {
      need_display: true, //定义当modelValue变动时是否需要渲染，用来阻止当前组件变动 modelValue 后重新渲染
      value_arr: [],
      config_arr: [],
      accept: '',
    }
  },
  methods: {
  },
  mounted() {
  }
}
</script>